From: Keir Fraser Date: Tue, 26 May 2009 09:05:27 +0000 (+0100) Subject: pvgrub: few lines in shutdown_blkfront were removed by mistake. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~13883 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22?a=commitdiff_plain;h=faeb2db71c8716e3b4b3d91e50d8d7217e458e13;p=xen.git pvgrub: few lines in shutdown_blkfront were removed by mistake. Signed-off-by: Stefano Stabellini --- diff --git a/extras/mini-os/blkfront.c b/extras/mini-os/blkfront.c index 6fc2c96eac..1534747acb 100644 --- a/extras/mini-os/blkfront.c +++ b/extras/mini-os/blkfront.c @@ -244,6 +244,10 @@ void shutdown_blkfront(struct blkfront_dev *dev) xenbus_wait_for_value(path, "5", &dev->events); err = xenbus_printf(XBT_NIL, nodename, "state", "%u", 6); + xenbus_wait_for_value(path, "6", &dev->events); + + err = xenbus_printf(XBT_NIL, nodename, "state", "%u", 1); + xenbus_wait_for_value(path, "2", &dev->events); xenbus_unwatch_path(XBT_NIL, path);